package com.itheima.log;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.ArrayList;
import java.util.List;

public class LoggerDemo2 {
    public static final Logger LOGGER = LoggerFactory.getLogger("LoggerDemo2");

    public static void main(String[] args) {
        List<String> list = new ArrayList<>();

        LOGGER.trace("开始初始化集合中的元素");

        list.add("java");
        list.add("mysql");

        LOGGER.info("集合添加元素完成");
        LOGGER.info("集合元素为：" + list);
    }
}
